package com.scvtc.domain.dto.system.role;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @Description: 菜单角色Dto
 * @Author: yiFei
 * @date: 2022/5/22 11:26
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("菜单角色")
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class RoleMenuIdsDto {

    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id")
    private Long roleId;
    /**
     * 菜单ids
     */
    @ApiModelProperty(value = "菜单ids")
    private List<Long> menuIds;

}
